import { Param } from "./types";

export const PylintParamList: Param[] = [
    {
        name: "allow-magic-value-types",
        descEn: `Constant types to ignore when used as "magic values" (see: PLR2004).`,
        descCn: "",
        defaultValue: ["str", "bytes"],
        optionList: ["str", "bytes", "complex", "float", "int", "tuple"],
        url: "https://beta.ruff.rs/docs/settings/#allow-magic-value-types",
    },
    {
        name: "max-args",
        descEn: "Maximum number of arguments allowed for a function or method definition (see: PLR0913).",
        descCn: "",
        defaultValue: 5,
        url: "https://beta.ruff.rs/docs/settings/#max-args",
    },
    {
        name: "max-branches",
        descEn: "Maximum number of branches allowed for a function or method body (see: PLR0912).",
        descCn: "",
        defaultValue: 12,
        url: "https://beta.ruff.rs/docs/settings/#max-branches",
    },
    {
        name: "max-returns",
        descEn: "Maximum number of return statements allowed for a function or method body (see PLR0911)",
        descCn: "",
        defaultValue: 6,
        url: "https://beta.ruff.rs/docs/settings/#max-returns",
    },
    {
        name: "max-statements",
        descEn: "Maximum number of statements allowed for a function or method body (see: PLR0915).",
        descCn: "",
        defaultValue: 50,
        url: "https://beta.ruff.rs/docs/settings/#max-statements",
    },
];